/* 异常订单处理组件样式 */
.order-exception {
    padding: 24px;
}

.exception-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.exception-title {
    font-size: 20px;
    font-weight: 500;
    color: var(--text-primary);
}

.exception-filters {
    display: flex;
    gap: 16px;
    align-items: center;
}

/* 异常订单列表样式 */
.exception-list {
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.exception-item {
    padding: 16px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.exception-item:last-child {
    border-bottom: none;
}

.order-info {
    flex: 1;
}

.order-id {
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.exception-type {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 2px;
    font-size: 12px;
    margin-right: 8px;
}

.type-delivery {
    background: #fff1f0;
    color: #ff4d4f;
}

.type-payment {
    background: #fff7e6;
    color: #fa8c16;
}

.type-quality {
    background: #f0f5ff;
    color: #2f54eb;
}

.exception-status {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-tag {
    padding: 2px 8px;
    border-radius: 2px;
    font-size: 12px;
}

.status-pending {
    background: #fff7e6;
    color: #fa8c16;
}

.status-processing {
    background: #e6f7ff;
    color: #1890ff;
}

.status-resolved {
    background: #f6ffed;
    color: #52c41a;
}

/* 处理进度追踪 */
.progress-tracker {
    margin-top: 16px;
}

.progress-step {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.step-time {
    font-size: 12px;
    color: var(--text-secondary);
    width: 120px;
}

.step-content {
    flex: 1;
    padding-left: 16px;
    position: relative;
}

.step-content::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-color);
    transform: translateY(-50%);
}

/* 处理操作按钮 */
.action-buttons {
    display: flex;
    gap: 8px;
}

.action-button {
    padding: 4px 12px;
    border-radius: 2px;
    font-size: 14px;
    cursor: pointer;
    border: 1px solid transparent;
}

.button-primary {
    background: var(--primary-color);
    color: #fff;
}

.button-default {
    background: #fff;
    border-color: #d9d9d9;
    color: var(--text-primary);
}

/* 空状态样式 */
.empty-state {
    text-align: center;
    padding: 48px 0;
    color: var(--text-secondary);
}

.empty-state-icon {
    font-size: 48px;
    margin-bottom: 16px;
    color: #d9d9d9;
}